package com.iweb.service.impl;

import com.iweb.dao.EmpDao;
import com.iweb.pojo.Emp;
import com.iweb.service.EmpService;

/**
 * @author: jack
 * @date: 2022-08-04 0004
 * @ApiNOTE:
 */
public class EmpServiceImpl implements EmpService {

  private EmpDao empDao;

  public void setEmpDao(EmpDao empDao) {
    this.empDao = empDao;
  }

  @Override
  public Emp findEmpByAccount(String account) {
    return empDao.selectEmpAccount(account);
  }
}
